package com.xmb.wcapi.entity;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 现存量记录表
 * </p>
 *
 * @author huangping
 * @since 2024-07-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class StockNow implements Serializable {

    private static final long serialVersionUID=1L;

    private String id;

    /**
     * 结存日期
     */
    private Date times;

    /**
     * 料号
     */
    private String material;

    /**
     * 现存量
     */
    private Long materialSum;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 需要扣除的量
     */
    @TableField(exist = false)
    private Long deductionSum;

    /**
     * 下阶料号
     */
    @TableField(exist = false)
    private String nextMaterial;

}
